package ru.payment.wm.impl;

import ru.payment.wm.UrlProvider;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * User: sergey
 * Date: 17.04.2009
 * Time: 16:16:17
 *
 */
public class LightUrlProvider implements UrlProvider {

  private Map<String, String> urls;

  public LightUrlProvider() {
    urls = new HashMap<String, String>();
    urls.put(X1, "https://w3s.wmtransfer.com/asp/XMLInvoiceCert.asp");
    urls.put(X2, "https://w3s.wmtransfer.com/asp/XMLTransCert.asp");
    urls.put(X3, "https://w3s.wmtransfer.com/asp/XMLOperationsCert.asp");
    urls.put(X4, "https://w3s.webmoney.ru/asp/XMLOutInvoicesCert.asp");
    urls.put(X5, "https://w3s.wmtransfer.com/asp/XMLFinishProtectCert.asp");
    urls.put(X6, "https://w3s.wmtransfer.com/asp/XMLSendMsgCert.asp");
    urls.put(X7, "https://w3s.wmtransfer.com/asp/XMLClassicAuthCert.asp");
    urls.put(X8, "https://w3s.wmtransfer.com/asp/XMLFindWMPurseCert.asp");
    urls.put(X9, "https://w3s.wmtransfer.com/asp/XMLPursesCert.asp");
    urls.put(X10, "https://w3s.webmoney.ru/asp/XMLInInvoicesCert.asp");
    urls.put(X11, "https://passport.webmoney.ru/asp/XMLGetWMPassport.asp");
    urls.put(X13, "https://w3s.wmtransfer.com/asp/XMLRejectProtectCert.asp");
    urls.put(X14, "https://w3s.wmtransfer.com/asp/XMLTransMoneybackCert.asp");
    urls.put(X15List, "https://w3s.webmoney.ru/asp/XMLTrustListCert.asp");
    urls.put(X15List2, "https://w3s.webmoney.ru/asp/XMLTrustList2Cert.asp");
    urls.put(X15Save2, "https://w3s.webmoney.ru/asp/XMLTrustSave2Cert.asp");
  }

  public String get(String key) {
    return urls.get(key);
  }

}
